package com.naiterui.ehp.bs.doctor.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

public class PatientRecordVo {
    @ApiModelProperty(value = "诊疗记录ID")
    private Long id;
    @ApiModelProperty(value = "诊疗记录UUID")
    private String uuid;
    // 患者id
    @ApiModelProperty(value = "患者ID")
    private Long patientId;
    // 医生id
    @ApiModelProperty(value = "医生ID")
    private Long doctorId;
    // 备注内容 避免歧义 2.5.0版本起用
    @ApiModelProperty(value = "病情描述")
    private String recordContent;
    // 备注内容 低于2.5.0版本使用，待强生版本时去掉
    @ApiModelProperty(value = "病情描述（已弃用）")
    private String record;
    // 创建日期
    @ApiModelProperty(value = "创建时间")
    private String createdAt;
    // 创建时间点
    @ApiModelProperty(value = "创建时间点")
    private String createdTimeShort;
    // 图片列表
    @ApiModelProperty(value = "图片列表")
    private List<PatientRecordPictureVo> pictures;
    // 医生姓名
    @ApiModelProperty(value = "医生姓名")
    @JsonInclude(Include.NON_NULL)
    private String doctorName;
    // 就诊医院
    @ApiModelProperty(value = "就诊医院")
    @JsonInclude(Include.NON_NULL)
    private String hospital;
    // 就诊科室
    @ApiModelProperty(value = "就诊科室")
    @JsonInclude(Include.NON_NULL)
    private String department;
    // 来源
    @ApiModelProperty(value = "来源(0:为医生添加，1：为患者上传，2：系统处方添加)")
    private int source;

    @ApiModelProperty(value = "推荐id")
    private Long recommandId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public Long getPatientId() {
        return patientId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() {
        return doctorId;
    }

    public void setRecordContent(String recordContent) {
        this.recordContent = recordContent;
        // 同步给旧版本
        this.record = recordContent;
    }

    public String getRecordContent() {
        return recordContent;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getCreatedTimeShort() {
        return createdTimeShort;
    }

    public void setCreatedTimeShort(String createdTimeShort) {
        this.createdTimeShort = createdTimeShort;
    }

    /**
     * @return List<Object> 取得域 pictures 的方法。
     */
    public List<PatientRecordPictureVo> getPictures() {
        return pictures;
    }

    /**
     * @param pictures 对域 pictures 的设置方法.
     */
    public void setPictures(List<PatientRecordPictureVo> pictures) {
        this.pictures = pictures;
    }

    /**
     * @return String 取得域 hospital 的方法。
     */
    public String getHospital() {
        return hospital;
    }

    /**
     * @param hospital 对域 hospital 的设置方法.
     */
    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    /**
     * @return String 取得域 department 的方法。
     */
    public String getDepartment() {
        return department;
    }

    /**
     * @param department 对域 department 的设置方法.
     */
    public void setDepartment(String department) {
        this.department = department;
    }

    /**
     * @return String 取得域 doctorName 的方法。
     */
    public String getDoctorName() {
        return doctorName;
    }

    /**
     * @param doctorName 对域 doctorName 的设置方法.
     */
    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    /**
     * @return String 取得域 record 的方法。
     */
    public String getRecord() {
        return record;
    }

    /**
     * @param record 对域 record 的设置方法.
     */
    public void setRecord(String record) {
        this.record = record;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public Long getRecommandId() {
        return recommandId;
    }

    public void setRecommandId(Long recommandId) {
        this.recommandId = recommandId;
    }

}
